<?php

namespace app\Entity;

/**
 * MarginRecharge
 */
class MarginRecharge
{
    /**
     * @var int
     */
    private $id;

    /**
     * @var string
     */
    private $uuid;

    /**
     * @var int
     */
    private $userId;

    /**
     * @var string
     */
    private $realname;

    /**
     * @var string
     */
    private $phone;

    /**
     * @var string
     */
    private $idNumber;

    /**
     * @var string
     */
    private $orderId;

    /**
     * @var string
     */
    private $amount;

    /**
     * @var string
     */
    private $payChannel;

    /**
     * @var string
     */
    private $bankAccount;

    /**
     * @var string
     */
    private $bankName;

    /**
     * @var bool
     */
    private $isCashBuy;

    /**
     * @var string
     */
    private $errorMessage;

    /**
     * @var int
     */
    private $status = '100';

    /**
     * @var string
     */
    private $remake;

    /**
     * @var string
     */
    private $clientIp;

    /**
     * @var \DateTime
     */
    private $createTime;

    /**
     * @var \DateTime|null
     */
    private $updateTime;


    /**
     * Get id.
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set uuid.
     *
     * @param string $uuid
     *
     * @return MarginRecharge
     */
    public function setUuid($uuid)
    {
        $this->uuid = $uuid;

        return $this;
    }

    /**
     * Get uuid.
     *
     * @return string
     */
    public function getUuid()
    {
        return $this->uuid;
    }

    /**
     * Set userId.
     *
     * @param int $userId
     *
     * @return MarginRecharge
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;

        return $this;
    }

    /**
     * Get userId.
     *
     * @return int
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * Set realname.
     *
     * @param string $realname
     *
     * @return MarginRecharge
     */
    public function setRealname($realname)
    {
        $this->realname = $realname;

        return $this;
    }

    /**
     * Get realname.
     *
     * @return string
     */
    public function getRealname()
    {
        return $this->realname;
    }

    /**
     * Set phone.
     *
     * @param string $phone
     *
     * @return MarginRecharge
     */
    public function setPhone($phone)
    {
        $this->phone = $phone;

        return $this;
    }

    /**
     * Get phone.
     *
     * @return string
     */
    public function getPhone()
    {
        return $this->phone;
    }

    /**
     * Set idNumber.
     *
     * @param string $idNumber
     *
     * @return MarginRecharge
     */
    public function setIdNumber($idNumber)
    {
        $this->idNumber = $idNumber;

        return $this;
    }

    /**
     * Get idNumber.
     *
     * @return string
     */
    public function getIdNumber()
    {
        return $this->idNumber;
    }

    /**
     * Set orderId.
     *
     * @param string $orderId
     *
     * @return MarginRecharge
     */
    public function setOrderId($orderId)
    {
        $this->orderId = $orderId;

        return $this;
    }

    /**
     * Get orderId.
     *
     * @return string
     */
    public function getOrderId()
    {
        return $this->orderId;
    }

    /**
     * Set amount.
     *
     * @param string $amount
     *
     * @return MarginRecharge
     */
    public function setAmount($amount)
    {
        $this->amount = $amount;

        return $this;
    }

    /**
     * Get amount.
     *
     * @return string
     */
    public function getAmount()
    {
        return $this->amount;
    }

    /**
     * Set payChannel.
     *
     * @param string $payChannel
     *
     * @return MarginRecharge
     */
    public function setPayChannel($payChannel)
    {
        $this->payChannel = $payChannel;

        return $this;
    }

    /**
     * Get payChannel.
     *
     * @return string
     */
    public function getPayChannel()
    {
        return $this->payChannel;
    }

    /**
     * Set bankAccount.
     *
     * @param string $bankAccount
     *
     * @return MarginRecharge
     */
    public function setBankAccount($bankAccount)
    {
        $this->bankAccount = $bankAccount;

        return $this;
    }

    /**
     * Get bankAccount.
     *
     * @return string
     */
    public function getBankAccount()
    {
        return $this->bankAccount;
    }

    /**
     * Set bankName.
     *
     * @param string $bankName
     *
     * @return MarginRecharge
     */
    public function setBankName($bankName)
    {
        $this->bankName = $bankName;

        return $this;
    }

    /**
     * Get bankName.
     *
     * @return string
     */
    public function getBankName()
    {
        return $this->bankName;
    }

    /**
     * Set isCashBuy.
     *
     * @param bool $isCashBuy
     *
     * @return MarginRecharge
     */
    public function setIsCashBuy($isCashBuy)
    {
        $this->isCashBuy = $isCashBuy;

        return $this;
    }

    /**
     * Get isCashBuy.
     *
     * @return bool
     */
    public function getIsCashBuy()
    {
        return $this->isCashBuy;
    }

    /**
     * Set errorMessage.
     *
     * @param string $errorMessage
     *
     * @return MarginRecharge
     */
    public function setErrorMessage($errorMessage)
    {
        $this->errorMessage = $errorMessage;

        return $this;
    }

    /**
     * Get errorMessage.
     *
     * @return string
     */
    public function getErrorMessage()
    {
        return $this->errorMessage;
    }

    /**
     * Set status.
     *
     * @param int $status
     *
     * @return MarginRecharge
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status.
     *
     * @return int
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set remake.
     *
     * @param string $remake
     *
     * @return MarginRecharge
     */
    public function setRemake($remake)
    {
        $this->remake = $remake;

        return $this;
    }

    /**
     * Get remake.
     *
     * @return string
     */
    public function getRemake()
    {
        return $this->remake;
    }

    /**
     * Set clientIp.
     *
     * @param string $clientIp
     *
     * @return MarginRecharge
     */
    public function setClientIp($clientIp)
    {
        $this->clientIp = $clientIp;

        return $this;
    }

    /**
     * Get clientIp.
     *
     * @return string
     */
    public function getClientIp()
    {
        return $this->clientIp;
    }

    /**
     * Set createTime.
     *
     * @param \DateTime $createTime
     *
     * @return MarginRecharge
     */
    public function setCreateTime($createTime)
    {
        $this->createTime = $createTime;

        return $this;
    }

    /**
     * Get createTime.
     *
     * @return \DateTime
     */
    public function getCreateTime()
    {
        return $this->createTime;
    }

    /**
     * Set updateTime.
     *
     * @param \DateTime|null $updateTime
     *
     * @return MarginRecharge
     */
    public function setUpdateTime($updateTime = null)
    {
        $this->updateTime = $updateTime;

        return $this;
    }

    /**
     * Get updateTime.
     *
     * @return \DateTime|null
     */
    public function getUpdateTime()
    {
        return $this->updateTime;
    }
}
